package com.mida.bms.report.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.mida.bms.report.entity.DocReportCollectImg;
import com.mida.bms.report.mapper.DocReportCollectImgMapper;
import com.mida.bms.report.service.DocReportCollectImgService;
import com.mida.bms.report.vo.DocReportCollectImgVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 报告采集图片存储_0.0 服务实现类
 * </p>
 *
 * @author bzy
 * @since 2021-07-13
 */
@Service
public class DocReportCollectImgServiceImpl extends ServiceImpl<DocReportCollectImgMapper, DocReportCollectImg> implements DocReportCollectImgService {


    @Autowired
    private DocReportCollectImgMapper docReportCollectImgMapper;


    @Override
    public int add(DocReportCollectImg docReportCollectImg) {

        return docReportCollectImgMapper.add(docReportCollectImg);
    }


    @Override
    public DocReportCollectImg queryExamination(String postId) {

        return docReportCollectImgMapper.queryExamination(postId);
    }


    @Override
    public DocReportCollectImgVo queryExaminationVo(String postId) {

        return docReportCollectImgMapper.queryExaminationVo(postId);
    }
}
